import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as ElIcons from "@element-plus/icons-vue";

import "element-plus/theme-chalk/el-loading.css";  
import "element-plus/theme-chalk/el-message.css";  
import "element-plus/theme-chalk/el-notification.css";
import "element-plus/theme-chalk/el-message-box.css"; 

const app = createApp(App);
// 注册Element icons
for(const name in ElIcons) {
    app.component(name, ElIcons[name]);
}

app.use(router).use(store).mount('#app')